#if !defined(__APP_POOL_H)
#define __APP_POOL_H

typedef struct  
{
    int (*task_func)(void *arg);
    void *arg;
} Task;

int app_pool_init(int thread_num);

void app_pool_destroy();

int app_pool_registerTask(int (*task_func)(void *arg),void *arg);

#endif // __APP_POOL_H
